package com.example.demo.modules.sys.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lmy
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FileStore对象", description="")
public class FileStore implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "全程名称")
    private String fileName;

    @ApiModelProperty(value = "别名id和id一致 如果第三方传过来id做标识使用")
    private String fileId;

    @ApiModelProperty(value = "原文件路径")
    private String originalFile;

    @ApiModelProperty(value = "修正后的路径地址")
    private String modifiedImage;

    @ApiModelProperty(value = "小图")
    private String lowImage;

    @ApiModelProperty(value = "略缩图")
    private String thumbImage;

    @ApiModelProperty(value = "表名称")
    private String tableName;

    @ApiModelProperty(value = "表id")
    private String tableId;

    @ApiModelProperty(value = "表类型 一个表存在多种类型文件上传使用")
    private String tableIdType;

    @ApiModelProperty(value = "文件后缀名")
    private String mimeTypeExt;

    @ApiModelProperty(value = "文件类型")
    private String mimeTypeType;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "0正常1删除")
    private Boolean deleted;


}
